package com.hui.platform.falseworkapi.service.business.user.constant;

import com.hui.platform.falseworkapi.common.core.exception.throwing.BusinessExceptionThrow;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * User 错误消息枚举（国际化）
 *
 * @author hui
 * @since 2020-04-14
 */
@AllArgsConstructor
public enum UserBusinessErrorEnum implements BusinessExceptionThrow {
    LOGIN_FAIL("user.login.fail", "登录失败"),
    ;

    @Getter
    private String key;
    @Getter
    private String message;
}